package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.pro.domain.entity.StageRetainEntity;

import java.util.List;
import java.util.Map;


/**
 * @Author mingliang
 * @Description
 * @Date 2021/11/16 15:36
 **/
public interface StageRetainModel extends IModel<StageRetainEntity> {
   @Override
   Integer insert(StageRetainEntity entity);

   void insertBatch(List<StageRetainEntity> list);

   @Override
   List<StageRetainEntity> findEntitys(Map<String, Object> param);

   @Override
   Integer getEntitysCount(Map<String, Object> param);

   @Override
   Integer update(StageRetainEntity entity);

   StageRetainEntity getByKey(Long key, String corpid);

   @Override
   List findEntitysWithoutSub(Map<String, Object> param);

   void updateBatch4Script(List<StageRetainEntity> list);

}
